home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetTextWrap.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  812b  |  35 lines

  1. /*
  2.  *--- PGetTextWrap.cpp ----------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetTextWrap.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetTextWrap.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. const size_t REPLY_SIZE = 22;
  16.  
  17. PGetTextWrap::PGetTextWrap()
  18. {
  19.     char temp[REPLY_SIZE];
  20.     
  21.     PQuery query(pm_gettextwrap, temp, REPLY_SIZE);
  22.  
  23.     PReplyBuf reply(temp);
  24.     
  25.     reply    >>    cWrapOption
  26.             >>    cTextFlow
  27.             >>    xLeftSO
  28.             >>    yTopSO
  29.             >>    xRightSO
  30.             >>    yBottomSO
  31.             >>    cLayerWrap;
  32. }
  33.  
  34. // end of PGetTextWrap.cpp
  35.